package com.smart.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.smart.common.domain.BaseVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author zhanghong
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("动火作业响应模型")
public class HotWorkVO extends BaseVO implements Serializable {
    @ApiModelProperty("项目id")
    private Long projectId;
    @ApiModelProperty("分包单位（单位id）")
    private Long unitId;
    @ApiModelProperty("作业编号")
    private String hotWorkCode;
    @ApiModelProperty("动火部位")
    private String hotWorkPosition;
    @ApiModelProperty("动火类型 取字典表")
    private String hotWorkType;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("作业时间开始时间")
    private Date hotWorkDateStart;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("作业结束时间")
    private Date hotWorkDateEnd;
    @ApiModelProperty("动火人（取自人员进出场记录表id）")
    private Long hotWorkPerson;
    @ApiModelProperty("看火人1（取自人员进出场记录表id）")
    private Long hotWorkLookPersonOne;
    @ApiModelProperty("看火人2（取自人员进出场记录表id）")
    private Long hotWorkLookPersonTwo;
    @ApiModelProperty("配备消防器材及防火安全措施")
    private String safetyMeasure;
    @ApiModelProperty("动火证（动火证照片链接）")
    private String hotWorkCard;
    @ApiModelProperty("作业开始时现场 （MP4格式视频链接）")
    private String startScene;
    @ApiModelProperty("作业完成时现场（MP4格式视频链接）")
    private String endScene;
    @ApiModelProperty("动火等级")
    private String hotWorkLv;
    @ApiModelProperty("配备消防器材及防火安全措施照片(英文分号隔开)")
    private String safetyMeasurePicture;
    @ApiModelProperty("作业中现场")
    private String inScene;

    @ApiModelProperty("分包单位简称")
    private String unitName;
    @ApiModelProperty("分包单位全称")
    private String unitDetailName;
    @ApiModelProperty("项目名称")
    private String projectName;
    @ApiModelProperty("项目编号")
    private String projectNumber;
    @ApiModelProperty("动火人")
    private String hotWorkPersonName;
    @ApiModelProperty("动火人照片")
    private String hotWorkPersonPhoto;
    @ApiModelProperty("看火人1")
    private String hotWorkLookPersonOneName;
    @ApiModelProperty("看火人1照片")
    private String hotWorkLookPersonOnePhoto;
    @ApiModelProperty("看火人2")
    private String hotWorkLookPersonTwoName;
    @ApiModelProperty("看火人2照片")
    private String hotWorkLookPersonTwoPhoto;
    @ApiModelProperty("建设地点")
    private String address;
    @ApiModelProperty("工程类型")
    private String engineeringType;
    @ApiModelProperty("质量监督注册号")
    private String qualityRegistrationNumber;
    @ApiModelProperty("总包单位（施工单位）")
    private String shigongUnit;

    @ApiModelProperty("导出excel文件的时间范围")
    private String timeScope;

    @ApiModelProperty("动火人身份证")
    private String hotWorkPersonIdcard;
    @ApiModelProperty("动火人身份证照片")
    private String hotWorkPersonIdcardPhoto;
    @ApiModelProperty("看火人1")
    private String hotWorkLookPersonOneIdcard;
    @ApiModelProperty("看火人1身份证照")
    private String hotWorkLookPersonOneIdcardPhoto;
    @ApiModelProperty("看火人2")
    private String hotWorkLookPersonTwoIdcard;
    @ApiModelProperty("看火人2身份证照")
    private String hotWorkLookPersonTwoIdcardPhoto;
}
